package com.xkdx.caipiao.presistence.findpsw;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import com.xkdx.caipiao.module.network.AbsAction;

public class ResetPswAction extends AbsAction {

	String user_login_name, vcode, user_pass;

	public ResetPswAction(String user_login_name, String vcode, String user_pass) {
		this.user_login_name = user_login_name;
		this.vcode = vcode;
		this.user_pass = user_pass;

	}

	@Override
	public void constructRequest() {
		HashMap<String, String> map = new HashMap<String, String>();
		map.put("user_login_name", user_login_name);
		map.put("vcode", vcode);
		map.put("user_pass", user_pass);

		String json = constructJson(map);
		Parameter parameter = new Parameter("System", "ChangePasswd", json);

		List<Parameter> list = new ArrayList<Parameter>();
		list.add(parameter);
		requestData = constructMod(list);

	}
}
